home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 128 12
/
q12.d81
/
t.coupon cache
< prev
next >
Wrap
Text File
|
2022-08-28
|
5KB
|
107 lines
C O U P O N C A C H E
by Robert B. Cook
Clipping and sorting coupons can be a task. If you're like most
people your coupons are stuffed in an envelope and you have only a vague
idea of the type of coupons that you have and the date they expire. COUPON
CACHE can go a long ways towards making sense of that jumble of coupons.
When running Coupon Cache for the first time you'll receive the message
'File not found on disk'. Not to worry. This only indicates that you have
no coupons saved to disk, yet.
REVISING THE MENU
The menu allows nine coupon categories. Because the majority of the
people that will be using this program are not programmers, and probably not
even familiar with the BASIC language, I have included a method of easily
revising the names of the coupon categories. Using the CRSR keys, move the
highlight bar to OPTIONS on the menu and press RETURN. Then select REVISE
MENU by pressing 'R'. Move the red highlight bar to the category name you
wish to edit and select it by pressing RETURN. Enter the new category name
and press RETURN. The menu names will be saved along with the coupons.
ENTERING THE COUPONS
Using the cursor keys, move the white cursor bar to a category of your
choice on the menu and select it by pressing RETURN.
The following options will be available to you:
+ - (plus and minus) VIEW - You may peruse your coupons forward and
backward with the + and - keys. Of course you can't do this until you've
entered some coupons.
F1 EDIT - This allows you to add a new coupon or edit an existing coupon.
Note the numbers at the top of the coupon, 'n of n'. The first number is
the coupon number that you are editing, the second is the number of coupons
in the present category. When the coupon number is higher than the number
of coupons, it indicates that the coupon is a blank, or new coupon. There
are four places for entries. The first is 'Item', for the name of the
coupon. Second is 'Value', for the monetary amount of the coupon. Next is
the 'Expiration date', if any. The last is 'Quantity', if you have more
than one of similar coupons.
Press F1 again to enter the coupon into memory or ESCape if you wish to exit
without changes. If you are editing an existing coupon you'll exit from the
EDIT mode, otherwise the number of coupons will be incremented by one and
another blank coupon will be displayed for editing.
The maximum number of coupons for each category is determined by the
variable MAX which is initially set at 199 and will allow 200 coupons. You
may change this to a higher number if you wish but be sure to save the main
program if you do.
F3 SORT - There are two ways to sort each coupon category; by ITEM or by
DATE. In order for the SORT to work properly your entries should be
consistent. For example, if you intend to sort by item, your entries for
'Snack Foods' should look like this:
Cookies, choc. chip,
Cookies, oatmeal,
Cookies, oreo, etc.
This would group together all your cookie items. SORT is case sensitive, if
you use capital letters in one entry use them in similar manner in all
entries.
For the date SORT to work properly the entries must have two digits for each
number and any type of separator. Examples, 01/08/91, 06-23-91, 12.05.91.
An exception is made when there is no expiration date. In that case an
entry such as 'None' will place these coupons at the end.
F5 SEARCH - Another reason for keeping your item entries consistent is to
enable the SEARCH command to find similar items. The search string may be
up to ten characters long. The SEARCH routine will check the complete item
name for these characters. For instance, to find "Jalapeno", you could
enter as your search string "Jalapeno", "Jal", "alap", or "apeno". SEARCH
is also case sensitive.
Pressing RETURN with no entry will display the blank (new) coupon for
editing.
F6 DELETE - Deletes a coupon from memory. If you have more than one of a
coupon, 2 or more entered in quantity, the quantity number will be reduced
by one.
F7 MENU - Returns you to the main menu.
Choosing OPTIONS and then pressing 'S' will save the coupon file and
also create a back-up file, COUPONS.BAK. If for some reason the COUPONS
file cannot be read scratch the COUPONS file and rename the COUPONS.BAK file
to COUPONS.
If you attempt to quit the program without saving your edited coupon
file you'll be asked if you want to save first.
I am looking forward to LOADSTAR publishing more of my dedicated
databases. I will try to keep the look and feel of them consistent so you
if you know how to work one of them, you'll probably know how to work them
all. If you have any ideas for programs of this sort you'd like to see,
write Fender at LOADSTAR and between the two of us we'll try to fix you up.
RBC
**** End of Text ****